package com.app.micaihu.view.home.original.adapter.provider

import com.app.micaihu.R
import com.app.micaihu.bean.news.NewsEntity
import com.app.micaihu.view.home.original.adapter.OriginalListAdapter
import com.chad.library.adapter.base.provider.BaseItemProvider
import com.chad.library.adapter.base.viewholder.BaseViewHolder

/**
 *
 */
class GoneProvider : BaseItemProvider<NewsEntity>() {

    override val itemViewType: Int
        get() = OriginalListAdapter.itemGone

    override val layoutId: Int
        get() = R.layout.item_layout_gone

    override fun convert(helper: BaseViewHolder, item: NewsEntity) {
//        helper.getView<ImageView>(R.id.ivSysIcon).loadCircleImage(R.mipmap.icon)
//        helper.setText(R.id.tvTime, item.datetime)
//        helper.getView<TextView>(R.id.tvMessage).text = Html.fromHtml(item.msg)
    }

}